-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/133 tracex pj generator #142
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Absolutely! |
This comment was marked as resolved.
This comment was marked as resolved.
This code check is now ready to review 👍 |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, just minor changes (mostly these which i already mentioned in my comment)
tracex_project/patient_journey_generator/templates/journey_generator_overview.html
Outdated
Show resolved
Hide resolved
tracex_project/trace_comparator/templates/testing_comparison.html
Outdated
Show resolved
Hide resolved
cleaned_data = super().clean() | ||
event_types = cleaned_data.get("event_types") | ||
locations = cleaned_data.get("locations") | ||
event_types = cleaned_data.get("event_types", []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats the difference in event_types = cleaned_data.get("event_types") and event_types = cleaned_data.get("event_types", [])?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first one will return None
if the key event_types
is not in the cleaned_data
while the second one provides a default argument for that case and will return an empty list. If it's important that None
is returned in that case, then please let me know.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
I tested the functionality and it worked for me. @nils-schmitt can you test it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
Also i have no troubles with the xes downloads @PitButtchereit @thangixd |
everything is working now! good job pit! |
I've refactored the tracex app and patient journey generator app. Since the tracex app contains functionality that is used in many different files, I've also changed some things outside of the supposed scope.
Remaining: Find a design for function buttons and menu buttons.